package org.example.day20240822.moiveex;

public class ChildrenMovie extends Movie{
    public ChildrenMovie(String title) {
        super(title);
    }

    @Override
    public double getFee(int rent_days) {
        double fee = 2;
        if(rent_days > 2){
            fee += (rent_days - 2) * 1.5;
        }
        return fee;
    }

}
